
package com.apps.diet.oxm;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element ref="{http://diet.apps.com/ws/schema/diet}mealId"/>
 *         &lt;element ref="{http://diet.apps.com/ws/schema/diet}mealName"/>
 *         &lt;element ref="{http://diet.apps.com/ws/schema/diet}mealTypeId"/>
 *         &lt;element ref="{http://diet.apps.com/ws/schema/diet}totalCarbsFact"/>
 *         &lt;element ref="{http://diet.apps.com/ws/schema/diet}totalProteinFact"/>
 *         &lt;element ref="{http://diet.apps.com/ws/schema/diet}totalFatFact"/>
 *         &lt;sequence>
 *           &lt;element ref="{http://diet.apps.com/ws/schema/diet}mealNutriFactXref" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;/sequence>
 *         &lt;element ref="{http://diet.apps.com/ws/schema/diet}modifyBy"/>
 *         &lt;element ref="{http://diet.apps.com/ws/schema/diet}modifyDt"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "mealId",
    "mealName",
    "mealTypeId",
    "totalCarbsFact",
    "totalProteinFact",
    "totalFatFact",
    "mealNutriFactXref",
    "modifyBy",
    "modifyDt"
})
@XmlRootElement(name = "meals")
public class Meals {

    protected int mealId;
    @XmlElement(required = true)
    protected String mealName;
    protected int mealTypeId;
    @XmlElement(required = true)
    protected String totalCarbsFact;
    @XmlElement(required = true)
    protected String totalProteinFact;
    @XmlElement(required = true)
    protected String totalFatFact;
    protected List<MealNutriFactXref> mealNutriFactXref;
    @XmlElement(required = true)
    protected String modifyBy;
    @XmlElement(required = true)
    @XmlSchemaType(name = "date")
    protected Date modifyDt;

    /**
     * Gets the value of the mealId property.
     * 
     */
    public int getMealId() {
        return mealId;
    }

    /**
     * Sets the value of the mealId property.
     * 
     */
    public void setMealId(int value) {
        this.mealId = value;
    }

    /**
     * Gets the value of the mealName property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getMealName() {
        return mealName;
    }

    /**
     * Sets the value of the mealName property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setMealName(String value) {
        this.mealName = value;
    }

    /**
     * Gets the value of the mealTypeId property.
     * 
     */
    public int getMealTypeId() {
        return mealTypeId;
    }

    /**
     * Sets the value of the mealTypeId property.
     * 
     */
    public void setMealTypeId(int value) {
        this.mealTypeId = value;
    }

    /**
     * Gets the value of the totalCarbsFact property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTotalCarbsFact() {
        return totalCarbsFact;
    }

    /**
     * Sets the value of the totalCarbsFact property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTotalCarbsFact(String value) {
        this.totalCarbsFact = value;
    }

    /**
     * Gets the value of the totalProteinFact property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTotalProteinFact() {
        return totalProteinFact;
    }

    /**
     * Sets the value of the totalProteinFact property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTotalProteinFact(String value) {
        this.totalProteinFact = value;
    }

    /**
     * Gets the value of the totalFatFact property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTotalFatFact() {
        return totalFatFact;
    }

    /**
     * Sets the value of the totalFatFact property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTotalFatFact(String value) {
        this.totalFatFact = value;
    }

    /**
     * Gets the value of the mealNutriFactXref property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the mealNutriFactXref property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getMealNutriFactXref().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link MealNutriFactXref }
     * 
     * 
     */
    public List<MealNutriFactXref> getMealNutriFactXref() {
        if (mealNutriFactXref == null) {
            mealNutriFactXref = new ArrayList<MealNutriFactXref>();
        }
        return this.mealNutriFactXref;
    }

    /**
     * Gets the value of the modifyBy property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getModifyBy() {
        return modifyBy;
    }

    /**
     * Sets the value of the modifyBy property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setModifyBy(String value) {
        this.modifyBy = value;
    }

    /**
     * Gets the value of the modifyDt property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public Date getModifyDt() {
        return modifyDt;
    }

    /**
     * Sets the value of the modifyDt property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setModifyDt(Date value) {
        this.modifyDt = value;
    }

}
